Proxy

public interface Proxy implements ProfileService

Allows modifying proxy configuration.

Functions

Link copied to clipboard
public abstract ProxyConfig config()
Returns the current proxy configuration.
public abstract void config(AutoDetectProxyConfig proxyConfig)
public abstract void config(CustomProxyConfig proxyConfig)
public abstract void config(DirectProxyConfig proxyConfig)
public abstract void config(SystemProxyConfig proxyConfig)
public abstract void config(UrlProxyConfig proxyConfig)
Updates the current proxy configuration with the given config.
Link copied to clipboard
public abstract Profile profile()
Returns the profile of this service.